package com.qst.service.impl;

import com.qst.dao.AdminMpper;
import com.qst.po.Admin;
import com.qst.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements IAdminService {
    @Autowired
    private AdminMpper adminMpper;
    @Override
    public Admin login(String name, String password) {
        return adminMpper.login(name,password);
    }
}
